import asyncio


async def func():
    print('测试函数')
    res = await asyncio.sleep(2)
    print(f'结束！{res}')


if __name__ == '__main__':
    asyncio.run(func())
